import request from "@/request/index.js"

export function listNotice(type,data){
    return request({
        url: "/notice/"+type,
        method:"post",
		header: {
		    'content-type': 'application/x-www-form-urlencoded'
		},
        params:data
    })  
}

export function doReadAllNotice(data){
    return request({
        url: "/notice/doReadAllNotice",
        method:"post",
		header: {
		    'content-type': 'application/x-www-form-urlencoded'
		},
        params:data
    })  
}




